package be.ipl.eBar.domaine;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@SuppressWarnings("serial")
@Embeddable
public class LigneCommande implements Serializable {

	@Column(name="COM_QUANTITE")
	private int quantite;
	@Column(name="COM_PRIX")
	private double prix;
	
	public LigneCommande(int quantite, double prix) {
		this.quantite = quantite;
		this.prix = prix;
	}

	public int getQuantite() {
		return quantite;
	}

	public void setQuantite(int quantite) {
		this.quantite = quantite;
	}

	public double getPrix() {
		return prix;
	}

	public void setPrix(double prix) {
		this.prix = prix;
	}
}
